opendoas: adjust with glibc and libcrypt-compat
authorKonstantin Demin <[email protected]>
Fri, 4 Jul 2025 07:51:40 +0000 (10:51 +0300)
committerJosef Schlehofer <[email protected]>
Mon, 14 Jul 2025 08:40:15 +0000 (10:40 +0200)
glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.

Signed-off-by: Konstantin Demin <[email protected]>
utils/opendoas/Makefile

index ae461eb6590ab5b69e8fabc3f0bad2900f39aacd..a1250b8f9d0cd047b6c985e97acd920be48b70c0 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=opendoas
 PKG_VERSION:=6.8.2
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://github.com/Duncaen/OpenDoas/releases/download/v$(PKG_VERSION)
@@ -22,7 +22,7 @@ define Package/opendoas
   CATEGORY:=Utilities
   TITLE:=Portable OpenBSD doas to execute commands as another user
   URL:=https://github.com/Duncaen/OpenDoas
-  DEPENDS:=+BUSYBOX_CONFIG_PAM:libpam
+  DEPENDS:= +USE_GLIBC:libcrypt-compat +BUSYBOX_CONFIG_PAM:libpam
 endef
 
 define Package/opendoas/description